import React from 'react'
import {useHistory} from 'react-router-dom'

const Login = () => {
    const history = useHistory()
    return <div onClick={() => {
        localStorage.setItem('token', 'asadadas')
        history.push('/')
    }
    }>login Pages</div>
}

export default Login